package com.member.common.core.domain;

import java.io.Serializable;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.*;
import lombok.experimental.SuperBuilder;

/**
 * Entity基类
 *
 * @author thomas 多租户使用
 */
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
public class BaseEntity extends SingleBaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     *租户id
     */
    private Long tenantId;

    public Long getTenantId() {
        return tenantId;
    }

    public void setTenantId(Long tenantId) {
        this.tenantId = tenantId;
    }
}
